package com.team.employment.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.team.employment.model.enums.BaseStatus;
import com.team.employment.model.enums.ReleaseStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 简历信息表
 * @TableName resume_info
 */

@Schema(description = "简历信息表")
@TableName(value ="resume_info")
@Data
public class ResumeInfo extends BaseEntity{

    private static final long serialVersionUID = 1L;
    /**
     * 求职者名字
     */
    @Schema(description = "求职者名字")
    @TableField(value = "name")
    private String name;

    /**
     * 性别
     */
    @Schema(description = "性别")
    @TableField(value = "sex")
    private String sex;

    /**
     * 出生年月
     */
    @Schema(description = "出生年月")
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * 毕业学校
     */
    @Schema(description = "毕业学校")
    @TableField(value = "school")
    private String school;

    /**
     * 期望职位
     */
    @Schema(description = "期望职位")
    @TableField(value = "desired_position")
    private String desiredPosition;

    /**
     * 学历类型
     */
    @Schema(description = "学历类型")
    @TableField(value = "degree_type")
    private Long degreeType;

    /**
     * 专业
     */
    @Schema(description = "专业")
    @TableField(value = "major")
    private String major;

    /**
     * 入校年份
     */
    @Schema(description = "入校年份")
    @TableField(value = "entry_time")
    private Date entryTime;

    /**
     * 毕业年份
     */
    @Schema(description = "毕业年份")
    @TableField(value = "out_time")
    private Date outTime;

    /**
     * 在校经历
     */
    @Schema(description = "在校经历")
    @TableField(value = "experience")
    private String experience;

    /**
     * 本人联系电话
     */
    @Schema(description = "本人联系电话")
    @TableField(value = "phone")
    private String phone;

    /**
     * 学生个人照的url
     */
    @Schema(description = "学生个人照的url")
    @TableField(value = "photo_url")
    private String photoUrl;

    /**
     * 简历pdf的url
     */
    @Schema(description = "简历pdf的url")
    @TableField(value = "resume_pdf")
    private String resumePdf;

    /**
     * 简历审核状态(0未审核,1已审核)
     */
    @Schema(description = "简历审核状态")
    @TableField(value = "status")
    private BaseStatus status;

    /**
     * 是否发布(0未发布,1已发布)
     */
    @Schema(description = "是否发布")
    @TableField(value = "is_release")
    private ReleaseStatus isRelease;


}